﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Dto
{
    public class InventoryPalletDto
    {
        /// <summary>
        /// 库存Id
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 物料Id
        /// </summary>
        public long? MaterialId { get; set; }
        /// <summary>
        /// 物料号
        /// </summary>
        public string MaterialCode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        public string BatchNo { get; set; }

        /// <summary>
        /// 仓位编码
        /// </summary>
        public string LocationCode { get; set; }

        /// <summary>
        /// 可用库存数量
        /// </summary>
        [Column(TypeName = "decimal(18,4)")]
        public decimal? AvailableQty { get; set; }

        /// <summary>
        /// 满载率
        /// </summary>
        public int? LoadFactor { get; set; }

        public string PalletBarcode { get; set; }

        public bool IsChecked { get; set; } = false;
    }
}
